package com.hy.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("users")
public class User implements Serializable {
    @ExcelProperty("用户的id，非必填")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ExcelProperty("openid")
    private String openid;
    @ExcelProperty("用户姓名")
    private String name;
    @ExcelProperty("用户手机号")
    private String phone;

    @ExcelProperty("用户真实姓名")
    private String realName;

    @ExcelProperty("认证状态")
    private Integer realNameStatus;

    @ExcelProperty("实名认证时间")
    private Date realNameTime;

    @ExcelProperty("用户身份证号")
    private String idCard;


    private String avatar;
    @ExcelProperty("地址")
    private String address;
    @ExcelProperty("积分")
    private Integer points;
    private Integer gender;
    @ExcelProperty("自动生成")
    private LocalDateTime createTime;
    @ExcelProperty("自动生成")
    private LocalDateTime updateTime;



}
